package taskscheduler.components;

import java.util.Date;

import taskscheduler.components.Item.ItemType;

public class ItemFactory {

	
	public static Item nan(){
		Item item = new Item();
		item.setName("Nan");
		item.setTime(new Date());
		item.setTimeToPrepare(5);
		item.setTimeToConsume(10);
		item.setType(ItemType.type1);
		item.setPrice(2.5);
		return item;
	}
	
	public static Item fries(){
		Item item = new Item();
		item.setName("Fries");
		item.setTime(new Date());
		item.setTimeToPrepare(5);
		item.setTimeToConsume(10);
		item.setType(ItemType.type1);	
		item.setPrice(4);
		return item;
	}
	
	public static Item curry(){
		Item item = new Item();
		item.setName("Chicken Curry");
		item.setTime(new Date());
		item.setTimeToPrepare(7);
		item.setTimeToConsume(15);
		item.setType(ItemType.type2);	
		item.setPrice(10);
		return item;
	}
	
	public static Item rice(){
		Item item = new Item();
		item.setName("Rice");
		item.setTime(new Date());
		item.setTimeToPrepare(3);
		item.setTimeToConsume(15);
		item.setType(ItemType.type2);		
		item.setPrice(3);		
		return item;
	}
	
}
